package service.impl;

import pojo.Admin;
import dao.AdminDao;
import dao.factory.DaoFactory;
import service.AdminManager;

public class AdminManagerImpl implements AdminManager {
	
	private AdminDao userDao;
	
	public AdminManagerImpl(){
		userDao = DaoFactory.getAdminDaoInstance();
	}
	
	public Admin findByName(String name){
		return userDao.findByName(name);
	}
	
	
}
